package com.laozhao.deliveryManager.model;

import java.io.Serializable;
import java.util.Date;

import com.laozhao.dreamframe.model.DreamModel;
import com.laozhao.dreamframe.model.DreamDBColumn;
import com.laozhao.dreamframe.view.DreamUIColumn;


/**
 * @author LaoZhao
 * 
 */
public class AbstractModel implements  Serializable ,DreamModel{	

	/**
	 * 
	 */
	private static final long serialVersionUID = 4359253321387274678L;
	@DreamUIColumn(columnEditable = false, uiColumnHide = true, uiColumnIndex = 0, uiColumnTitle = "ID")
	@DreamDBColumn(dbColunName = "ID")
	private Long Id;

	@DreamDBColumn( dbColunName = "CREATE_BY")
	private String createUser;
	
	@DreamDBColumn( dbColunName = "CREATE_ON")
	private Date createDatetime;

	@DreamDBColumn( dbColunName = "MODIFY_BY")
	private String updateUser;
	
	@DreamDBColumn( dbColunName = "MODIFY_ON")
	private Date updateDatetime;
	
	/* deleteFlg: */
	@DreamDBColumn( dbColunName = "DEL_FLG")
	private int deleteFlg;
	

	/**
	 * 
	 */
	public AbstractModel() {
		
		
	}
	
	public Long getId() {
		return Id;
	}

	public void setId(Long id) {
		Id = id;
	}

	/**
	 * @return the createDatetime
	 */
	public Date getCreateDatetime() {
		return createDatetime;
	}

	/**
	 * @param createDatetime
	 *            the createDatetime to set
	 */
	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}

	
	/**
	 * @return the deleteFlg
	 */
	public int getDeleteFlg() {
		return deleteFlg;
	}

	/**
	 * @param deleteFlg
	 *            the deleteFlg to set
	 */
	public void setDeleteFlg(int deleteFlg) {
		this.deleteFlg = deleteFlg;
	}

	/**
	 * @return the updateDatetime
	 */
	public Date getUpdateDatetime() {
		return updateDatetime;
	}

	/**
	 * @param updateDatetime
	 *            the updateDatetime to set
	 */
	public void setUpdateDatetime(Date updateDatetime) {
		this.updateDatetime = updateDatetime;
	}

	
	public String getCreateUser() {
		return createUser;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

}
